<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>6.模拟一下Vue.extend方法</title>
	</head>
	<body>
		<script type="text/javascript" >
			//模拟一个Vue构造函数
			function Vue(){

			}
			function VueComponent(){

			}
			//模拟Vue.extend方法
			Vue.extend = function(){
				function VueComponent(){
						
				}
				return VueComponent
			}

			const School = Vue.extend({})
			const Person = Vue.extend({})
			console.log(School === Person)

		</script>
	</body>
</html>